package com.cherish.pattern.proxy.model;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

/**
 * @Classname OrderInfo
 * @Date 2019/4/7 14:21
 * @Author admin
 * @Description TODO
 */
public class OrderInfo {

    private Map<String,Object> orderDetail;
    private String id;
    private Long createTime;

    public OrderInfo() {
        this.setCreateTime(System.currentTimeMillis());
        this.setId(UUID.randomUUID().toString());
        this.setOrderDetail(new HashMap<>());
    }

    public Map<String, Object> getOrderDetail() {
        return orderDetail;
    }

    public void setOrderDetail(Map<String, Object> orderDetail) {
        this.orderDetail = orderDetail;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
